#ifndef __VCD_NEW_LOGIN_MODE_H__
#define __VCD_NEW_LOGIN_MODE_H__

#include <string.h>
#include <stdio.h>
#include <config.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <glib/gprintf.h>
#include <glib/gi18n.h>

#include <curl/curl.h>
#include <json-glib/json-glib.h>

G_BEGIN_DECLS

typedef struct check_num_ctx{
    gchar* ip;
    gchar* tls_port;
    gchar* password;
}check_num_ctx;

void check_num_ctx_free(check_num_ctx** pp);

int check_new_mode_connect(check_num_ctx *ctx);
void virt_client_disconnect(void);

G_END_DECLS

#endif
